<?php

namespace App\Models;

use Encore\Admin\Traits\DefaultDatetimeFormat;
use Illuminate\Database\Eloquent\Model;

class StockApplyProduct extends Model
{
    use DefaultDatetimeFormat;
    protected $table = 'stock_apply_product';
    protected $guarded = [];

    public function apply()
    {
        return $this->belongsTo(StockApply::class, 'apply_id');
    }
}
